home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _A557057F46844F648954CFDBFF3F5F10 < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.9 KB  |  89 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Angela M. Cable',
  6.         'Copyright': '2003 for freeware distribution only',
  7.         'Description': "A color pointillist effect",
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Do(Environment):
  13.     App.Do( Environment, 'LayerDuplicate', {
  14.             'GeneralSettings': {
  15.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  16.                 }
  17.             })
  18.  
  19.     App.Do( Environment, 'BrushStrokes', {
  20.             'Angle': 311, 
  21.             'Bristles': 256, 
  22.             'Color': (0,0,0), 
  23.             'Density': 26, 
  24.             'Length': 15, 
  25.             'Opacity': 0, 
  26.             'Softness': 1, 
  27.             'Width': 6, 
  28.             'GeneralSettings': {
  29.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  30.                 'PreviewVisible': App.Constants.Boolean.true, 
  31.                 'AutoProof': App.Constants.Boolean.false
  32.                 }
  33.             })
  34.  
  35.     App.Do( Environment, 'AddNoise', {
  36.             'Amount': 26, 
  37.             'Type': 1, 
  38.             'Monochrome': App.Constants.Boolean.true, 
  39.             'GeneralSettings': {
  40.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  41.                 'PreviewVisible': App.Constants.Boolean.true, 
  42.                 'AutoProof': App.Constants.Boolean.false, 
  43.                 'RandomSeed': 702000
  44.                 }
  45.             })
  46.  
  47.     App.Do( Environment, 'NegativeImage', {
  48.             'GeneralSettings': {
  49.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  50.                 }
  51.             })
  52.  
  53.     App.Do( Environment, 'LayerProperties', {
  54.             'General': {
  55.                 'Opacity': 80, 
  56.                 'Name': None, 
  57.                 'IsVisible': None, 
  58.                 'IsTransparencyLocked': None, 
  59.                 'LinkSet': None, 
  60.                 'UseHighlight': None, 
  61.                 'PaletteHighlightColor': None, 
  62.                 'GroupLink': None, 
  63.                 'BlendMode': App.Constants.BlendMode.Dodge
  64.                 }, 
  65.             'BlendRanges': None, 
  66.             'Path': (0,0,[],App.Constants.Boolean.false), 
  67.             'BrightnessContrast': None, 
  68.             'ChannelMixer': None, 
  69.             'ColorBalance': None, 
  70.             'CurveParams': None, 
  71.             'HSL': None, 
  72.             'Threshold': None, 
  73.             'Levels': None, 
  74.             'Posterize': None, 
  75.             'Mask': None, 
  76.             'GeneralSettings': {
  77.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  78.                 'PreviewVisible': App.Constants.Boolean.true, 
  79.                 'AutoProof': App.Constants.Boolean.false
  80.                 }
  81.             })
  82.  
  83.     App.Do( Environment, 'SharpenMore', {
  84.             'GeneralSettings': {
  85.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  86.                 }
  87.             })
  88.  
  89.